#!/usr/bin/env bash

TRACE_PID=$(ps aux | grep -v grep | grep -i java | grep trace | awk '{print $2}')
for pid in ${TRACE_PID}; do
 	echo "current pid is $pid"
	kill ${pid}
done